<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="X-UA-Compatible" content="IE=7" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title><?php echo $this->pageTitle;?></title>
<?php
if (isset($this->metaKeywords) && isset($this->metaDescription)){
	$metaKeywords = $this->metaKeywords;
	$metaDescription = $this->metaDescription;
	echo <<<EOF
		<meta name="keywords" content="{$metaKeywords}" />
		<meta name="description" content="{$metaDescription}" />
EOF;
}

if (isset($this->cssList)){
	foreach ($this->cssList as $cssRow){
		$cssRow = TUOLAR_UI_DOMAIN.$cssRow;
		echo <<<EOF
			<link href="{$cssRow}" rel="stylesheet" type="text/css" />
EOF;
	}
}

if(isset($this->jsList)){
	foreach ($this->jsList as $jsRow){
		$jsRow = TUOLAR_UI_DOMAIN.$jsRow;
		echo <<<EOF
			<script type="text/javascript" src="{$jsRow}"></script>
EOF;
	}
}
?>

</head>
<body>
<?php echo $this->content; ?>
</body>
